﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014FB RID: 5371
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class WolfBroGameActivateBulletScRsp : IMessage<WolfBroGameActivateBulletScRsp>, IMessage, IEquatable<WolfBroGameActivateBulletScRsp>, IDeepCloneable<WolfBroGameActivateBulletScRsp>, IBufferMessage
	{
		// Token: 0x170043A4 RID: 17316
		// (get) Token: 0x0600F053 RID: 61523 RVA: 0x00281A50 File Offset: 0x0027FC50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<WolfBroGameActivateBulletScRsp> Parser
		{
			get
			{
				return WolfBroGameActivateBulletScRsp._parser;
			}
		}

		// Token: 0x170043A5 RID: 17317
		// (get) Token: 0x0600F054 RID: 61524 RVA: 0x00281A57 File Offset: 0x0027FC57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return WolfBroGameActivateBulletScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170043A6 RID: 17318
		// (get) Token: 0x0600F055 RID: 61525 RVA: 0x00281A69 File Offset: 0x0027FC69
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return WolfBroGameActivateBulletScRsp.Descriptor;
			}
		}

		// Token: 0x0600F056 RID: 61526 RVA: 0x00281A70 File Offset: 0x0027FC70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGameActivateBulletScRsp()
		{
		}

		// Token: 0x0600F057 RID: 61527 RVA: 0x00281A78 File Offset: 0x0027FC78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGameActivateBulletScRsp(WolfBroGameActivateBulletScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600F058 RID: 61528 RVA: 0x00281A9D File Offset: 0x0027FC9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGameActivateBulletScRsp Clone()
		{
			return new WolfBroGameActivateBulletScRsp(this);
		}

		// Token: 0x170043A7 RID: 17319
		// (get) Token: 0x0600F059 RID: 61529 RVA: 0x00281AA5 File Offset: 0x0027FCA5
		// (set) Token: 0x0600F05A RID: 61530 RVA: 0x00281AAD File Offset: 0x0027FCAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600F05B RID: 61531 RVA: 0x00281AB6 File Offset: 0x0027FCB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as WolfBroGameActivateBulletScRsp);
		}

		// Token: 0x0600F05C RID: 61532 RVA: 0x00281AC4 File Offset: 0x0027FCC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(WolfBroGameActivateBulletScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600F05D RID: 61533 RVA: 0x00281AF4 File Offset: 0x0027FCF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600F05E RID: 61534 RVA: 0x00281B33 File Offset: 0x0027FD33
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600F05F RID: 61535 RVA: 0x00281B3B File Offset: 0x0027FD3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600F060 RID: 61536 RVA: 0x00281B44 File Offset: 0x0027FD44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600F061 RID: 61537 RVA: 0x00281B78 File Offset: 0x0027FD78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600F062 RID: 61538 RVA: 0x00281BB6 File Offset: 0x0027FDB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(WolfBroGameActivateBulletScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600F063 RID: 61539 RVA: 0x00281BE7 File Offset: 0x0027FDE7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600F064 RID: 61540 RVA: 0x00281BF0 File Offset: 0x0027FDF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005EEB RID: 24299
		private static readonly MessageParser<WolfBroGameActivateBulletScRsp> _parser = new MessageParser<WolfBroGameActivateBulletScRsp>(() => new WolfBroGameActivateBulletScRsp());

		// Token: 0x04005EEC RID: 24300
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005EED RID: 24301
		public const int RetcodeFieldNumber = 13;

		// Token: 0x04005EEE RID: 24302
		private uint retcode_;
	}
}
